package com.niit.chat.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class TestController {
    
    @GetMapping("/")
    public String test() {
        return "聊天服务启动成功！";
    }
    
    @GetMapping("/test")
    public String hello() {
        return "Hello from Chat Service!";
    }

} 